# -*- coding=utf-8
from qcloud_cos import CosConfig
from qcloud_cos import CosS3Client


secret_id = 'AKIDV3dovpfQ9g8UddhknssswAJQSQHzW0Ua'      # 替换为用户的 secretId
secret_key = '51v7FE4kV7ZxY2NZZZS8c63utkVAjAWk'      # 替换为用户的 secretKey
region = 'ap-guangzhou'      # 替换为用户的 region，已创建桶归属的 region 可以在控制台查看，https://console.cloud.tencent.com/cos5/bucket
                           # COS 支持的所有 region 列表参见 https://cloud.tencent.com/document/product/436/6224

config = CosConfig(Region=region, SecretId=secret_id, SecretKey=secret_key)
client = CosS3Client(config)

response = client.create_bucket(
    Bucket='hhh-1320194660'
)




